home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group02b.txt / 000022_icon-group-sender_Mon Sep 9 12:25:38 2002.msg < prev    next >
Internet Message Format  |  2003-01-02  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id g89JNtA02982
  4.     for icon-group-addresses; Mon, 9 Sep 2002 12:23:55 -0700 (MST)
  5. Message-Id: <200209091923.g89JNtA02982@baskerville.CS.Arizona.EDU>
  6. Subject: Using Procedure Names for Debugging
  7. From: Steve Graham <Steve_Graham@labcorp.com>
  8. To: Icon Group <icon-group@cs.arizona.edu>
  9. Date: 09 Sep 2002 12:35:14 -0500
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11. Status: RO
  12.  
  13. While developing an Icon program, I wanted an easy way to debug each
  14. procedure.  I had read that there is more than 1 way to invoke a
  15. command.  For example, you can have the statement write(5) or you can
  16. have "write"(5).  I figured that I would use this idea to develop a test
  17. module, to which I would pass a procedure name and arguments.  The test
  18. module would in turn invoke the specified procedure as in the 2nd
  19. example above with the arguments and report back the results, if any. 
  20. However, I wasn't able to make it work.  I'd bet there is a way,
  21. though.  Any ideas?
  22.  
  23. TIA, Steve
  24.  
  25.